﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Account/Account.Master" CodeBehind="ContractView.aspx.cs" Inherits="TravelSite.ContractView" Title="Ultimate Vacation Experience CMS :: Contract View" %>

<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
<script type="text/javascript">
    function printIframe(id) {
        var iframe = document.frames ? document.frames[id] : document.getElementById(id);
        var ifWin = iframe.contentWindow || iframe;
        iframe.focus();
        ifWin.print();
        return false;
        
    }
</script> 
<div class="container">   
    	<div class="sign_consent_content">
        	<div class="row">
            	<div class="col-lg-12">
                    <div style="padding:3px;">
                        <iframe runat="server" src="" width="100%" height="1000px" id="frameDocument">
                        </iframe>
                    </div>
                    <form id="Form1" role="form" class="form-inline" runat="server" style="text-align:center; padding:3px;">
                        <asp:Button ID="btnView" runat="server" CssClass="btn btn-warning" Text="Click to Accept Terms & Conditions" OnClick="btnView_Click"/>
                        <a target="_blank" runat="server" id="btnPrint" class="btn btn-warning">
                            Print
                        </a>
                        <a target="_blank" runat="server" id="btnSavePDF" class="btn btn-warning">
                            Save PDF
                        </a>
                        <a target="_blank" runat="server" id="btnClose" class="btn btn-warning">
                            Close
                        </a>
                    </form>
                </div>
            </div>
        </div>
    </div>
</asp:Content>

